package com.logic.landseaserver.service;

import java.util.List;

import com.logic.common.exception.BusinessException;
import com.logic.common.service.ICRUDService;
import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.Issue;
import com.logic.landseaserver.ws.dto.IssueDTO;

public interface IIssueService extends ICRUDService {

	IssueDTO getDTO(Integer id) throws BusinessException;

	List<IssueDTO> queryDTO(QueryUtil queryUtil);

	Issue copyFromTemplate(Integer issueId) throws BusinessException;

	void add2Template(Issue issue) throws BusinessException;

	List<Issue> queryByCheckId(QueryUtil queryUtil);

	List<Issue> getByCheckId(Integer checkId);

	Integer countByCheckId(Integer checkId);

}
